package com.jessechanrui.template.shardingsphere.demo.exception;

import com.jessechanrui.template.skeleton.common.base.BaseException;
import com.jessechanrui.template.skeleton.common.constant.IStatusCode;

/**
 * 示例业务异常
 * @author chenrui
 * @date 2024/1/30
 */
public class DemoException extends BaseException {

    public DemoException(IStatusCode statusCode, String message) {
        super(statusCode, message);
    }

    public DemoException(Integer code, String message) {
        super(code, message);
    }

    public DemoException(String message) {
        super(message);
    }
}
